From: Thierry Reding Date: Thu, 28 Apr 2016 12:47:24 +0000 (+0200) Subject: serial: 8250: of: Make tegra_serial_handle_break() static X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~2270^2~20 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=28264eb6c36e267aad0e6cfb353ad1e7920ac87b;p=linux-4.9.git serial: 8250: of: Make tegra_serial_handle_break() static This function is not used outside the file, so it can be static. Signed-off-by: Thierry Reding Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/8250/8250_of.c b/drivers/tty/serial/8250/8250_of.c index c7ed3d2bc8b2..38963d7bcf84 100644 --- a/drivers/tty/serial/8250/8250_of.c +++ b/drivers/tty/serial/8250/8250_of.c @@ -29,7 +29,7 @@ struct of_serial_info { }; #ifdef CONFIG_ARCH_TEGRA -void tegra_serial_handle_break(struct uart_port *p) +static void tegra_serial_handle_break(struct uart_port *p) { unsigned int status, tmout = 10000;